<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>修改</title>
</head>
<body>
    <h1>修改</h1>
    <form method="POST">
        <p><input type="hidden" name="id" value="{{ user.id }}"></p>
        <p>用户名: <input type="text" name="username"></p>
        <p>密码: <input type="password" name="password"></p>
        <p>图片: <input type="file" name="img"></p>
        <p>
            <select name="type">
                <option value="0">普通用户</option>
                <option value="1">管理员</option>
                <option value="2">商家</option>
            </select>
        </p>
        <p><input type="submit" value="提交"></p>
    </form>
</body>
</html>